package com.ly.heart.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 询价单请求dto
 * @author cxl
 */
@Data
@Accessors(chain = true)
@ApiModel(value="询价单请求dto")
public class AskInfoDto{

    @ApiModelProperty("id(编辑时使用)")
    private String id;

    @ApiModelProperty("项目id")
    private String projectId;

    @ApiModelProperty("项目编码")
    private String projectCode;

    @ApiModelProperty("询价日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date askDate;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("询价明细项")
    private List<AskDetailDto> askDetails;

    @ApiModelProperty("附件ids")
    private List<String> fileIds;

}
